package com.yfp.client.service;

import com.yfp.client.domain.MiniBanner;
import com.yfp.client.domain.MiniBannerPosition;

import java.util.List;

/**
 * @Description: 小程序banner
 *
 * @CreateDate: 2024/7/22 11:36
 * @UpdateUser:
 * @UpdateDate: 2024/7/22 11:36
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
public interface MiniBannerService {
    /**
     * 查询
     * @return
     */
    List<MiniBanner> findListSortAndCreateTime(String cityName);

    /**
     * 获取弹窗banner
     * @return
     */
    List<MiniBanner> findPopup(String cityName);

    /**
     * 获取弹窗点位bannerId
     * @param miniBannerId
     * @return
     */
    List<MiniBannerPosition> findByMiniBannerId(Long miniBannerId);
}